$(document).ready(function() {
	$('#lang li[class]').click(function(){
		var lang = $(this).attr('class');
		if (lang != $.cookie('lang')) {
			$.cookie('lang', lang, { expires: 30, path: '/'});
			location.reload(true);
		};
	});
});